﻿using System;

namespace BwanaBank.BankOnline.WinUI.Window
{
    public partial class Home : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (Request.Cookies["customer"] != null || Session["customer"] != null)
            {
                Response.Redirect("~/Customer/");
            }
            else if (Request.Cookies["admin"] != null || Session["admin"] != null)
            {
                Response.Redirect("~/Admin/");
            }
        }
    }
}